package com.bestcem.xm.om.controller.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author zhangfeng <feng.zhang@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/10 17:39
 */
@Data
public class EmailConfParam {
    /**
     * 真实租户(外部)邮箱列表
     */
    @JsonProperty("type")
    @NotEmpty(message = "type is required")
    private String type;

    /**
     * 真实租户(外部)邮箱列表
     */
    @JsonProperty("real_emails")
    private List<String> realEmails;

    /**
     * 内部测试(内部)
     */
    @JsonProperty("test_emails")
    private List<String> testEmails;
}